/*
 * Copyright (c) 2011, All Rights Reserved
 * 
 * AbstractEntity.java
 * Modification History
 * *************************************************************
 * Date				Author			Comment
 * 23042011			venky			Created
 * *************************************************************
 */
package my.project.builder.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Super class for all the Entity Objects of Hibernate
 * 
 * @author venky
 *
 */
public class AbstractEntity implements Serializable
{

	private static final long serialVersionUID = 1087244727386143792L;

	private String createdBy;
	private String modifiedBy;

	private Long id;

	private Boolean deleted = Boolean.FALSE;

	private Date createdDate;
	private Date modifiedDate;

	private Long version;

	public String getCreatedBy()
	{
		return createdBy;
	}

	public void setCreatedBy(String createdBy)
	{
		this.createdBy = createdBy;
	}

	public String getModifiedBy()
	{
		return modifiedBy;
	}

	public void setModifiedBy(String modifiedBy)
	{
		this.modifiedBy = modifiedBy;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Boolean getDeleted()
	{
		return deleted;
	}

	public void setDeleted(Boolean deleted)
	{
		this.deleted = deleted;
	}

	public Date getCreatedDate()
	{
		return createdDate;
	}

	public void setCreatedDate(Date createdDate)
	{
		this.createdDate = createdDate;
	}

	public Date getModifiedDate()
	{
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate)
	{
		this.modifiedDate = modifiedDate;
	}

	public Long getVersion()
	{
		return version;
	}

	public void setVersion(Long version)
	{
		this.version = version;
	}

}
